package com.cheung.dubbo.server.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.cheung.dubbo.api.HelloService;
import org.springframework.stereotype.Component;

/**
 * Create by 777 on 2018/12/20
 */
//@Service(version = "1.0.0")
@Service(interfaceClass = HelloService.class)
@Component
public class HelloServiceImpl implements HelloService {

	public String sayHello(String name){
		return "com.cheung.dubbo.server.serviceimpl.HelloServiceImpl"+name;
	}
}
